<template>
  <el-dialog :visible.sync="isShow" title="添加权限">
    <el-form label-width="120px">
      <el-form-item label="权限名称">
        <el-input />
      </el-form-item>
      <el-form-item label="权限标识">
        <el-input />
      </el-form-item>
      <el-form-item label="权限描述">
        <el-input />
      </el-form-item>
      <el-form-item label="企业可见">
        <el-switch
          active-text="可见"
          inactive-text="不可见"
          active-value="1"
          inactive-value="0"
        />
      </el-form-item>
    </el-form>
    <template #footer>
      <div style="text-align: center">
        <el-button>取消</el-button>
        <el-button type="primary">确定</el-button>
      </div>
    </template>
  </el-dialog>
</template>

<script>
export default {
  name: 'PermissionDialog',
  data() {
    return {
      isShow: false
    }
  }
}
</script>

<style lang="scss" scoped>
::v-deep .el-form-item__label {
  font-weight: normal;
}
.el-input {
  width: 90%;
}
</style>
